package com.lujieni.springbooteasyexcel.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class OrderInfoDTO {

    /**
     * 账期
     */
    /**
     * 姓名
     */
    @ExcelProperty(value = "账期月份", index = 0)
    private Integer period;

    /**
     * 账单金额
     */
    @ExcelProperty(value = "账单金额", index = 1)
    private BigDecimal amount;

    @ExcelProperty(value = "下单人", index = 2)
    private String userName;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号", index = 3)
    @ColumnWidth(30)
    private String phone;


}